export interface IRootState {
  name: string;
  entireDepartment: any[];
  entireRole: any[];
  entireMenu: any[];
}

export interface ILoginState {
  token: string;
  userInfo: any;
  userMenus: any;
  permissions: string[];
}

export interface IRootWithMould {
  login: ILoginState;
  system: ISystemState;
}

export type IStoreType = IRootState & IRootWithMould;

export interface ISystemState {
  userList: any[];
  userCount: number;

  roleList: any[];
  roleCount: number;

  goodsList: any[];
  goodsCount: number;

  menuList: any[];
  menuCount: number;
}
